/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package simframe.simulation;

/**
 *
 * @author Steve Noble
 */
public abstract class SimObject implements SimActor {

    private SimActor owner = null;

    public void setOwner(SimActor owner) {
        this.owner = owner;
    }

    public abstract boolean dead();

    public abstract void reset();

    public void action(Action m) {
        owner.action(m);
    }

    public void action(Action x, long dt) {
        owner.action(x, dt);
    }

       public void action(Action x, long dt, Time.Next periodicity) {
        owner.action(x, dt, periodicity);
    }

    public Long getTime() {
        return owner.getTime();
    }
}
